package dao;

import java.util.List;

import pojo.Order;

/**
 * Created by CHENCO7 on 8/12/2017.
 */
public interface OrderDao {
    Order addOrder(Order order);

    Order loadOrder(String id);

    Order updateOrder(Order order);

    List<Order> getOrderListByCustomerId(String id);
    
    Order addComment(String comment, String starCount, String o_id);
    
    Order addComplain(String comment, String o_id);

    Order loadOrderItem(String orderId);
}
